#include<stdio.h>
main()
{
	int *p1,*p2,p, a, b;
	scanf  ("%d%d",&a,&b);
	p1=&a;
	p2=&b;
	if  (*p1<*p2)
	{
		p=*p1;
		*p1=*p2;
		*p2=p;
	}
	printf  ("\na=%d,b=%d\n",a,b);
	printf("max=%d,min=%d\n",*p1,*p2);
}




